/*Reset lại các mặc định của trình duyệt*/
*{
    margin: 0;
    padding: 0;
    background: transparent;
}

body{
    background: #9FA6AB; /*url(../images/body_bg.png) repeat scroll;*/
    font-family: Arial, Helvetica, Sans-serif;
    z-index: 0;
}
a img:link, img{
    border: 0;
    border: none;
}
a{
    text-decoration: none;
}
div#page{
    margin: 0px auto;
    width: 1020px;
    background: #fff;
    position: relative;
    z-index: 0;
}

/*Thiết kế phần đầu trang web: header*/
#header{
    background: #fff;
}
#banner{
    height: 109px;
}
div#header_bottom{
    clear: both;
    height: 34px;
    line-height: 34px;
}
div#slogan{
    float: left;
    width: 500px;
	margin-left: 5px;
}
div#slogan p{
    float: left;
    display: block;
    color: #008040;
}
div#slogan p.title{
    color: #FF8000;
}
div#slogan p a{
    color: #008040;
}
div#slogan p a:hover{
    color: #0080FF;
}
div#day{
	color: #FF8040;
	font-weight: bold;
	width: 300px;
	float: right;
}

/*Thiết kế menu ngang cấp 1: menu_horizontal*/
#menu_horizontal{
    width: 100%;    
    float: left;
    background: #377CAD;
    font-weight: bold;
    position: relative;
    z-index: 1000;
}
#menu_horizontal ul{
    float: left;
    list-style: none;
}
#menu_horizontal ul li{
    position: relative;
    float: left;
    line-height: 40px;
    height: 40px;
}
#menu_horizontal li a{
    display: block;
    text-decoration: none;
    color: #fff;
    height: 40px;
    border: none;
    padding: 0 15px;
}
#menu_horizontal ul li:hover, #menu_horizontal li a:hover{
    background: url(../images/menu_hover.png) repeat-x;
}
#menu_horizontal ul li ul li{
    margin: 0;
}
#menu_horizontal ul li ul{
    position: absolute;
    display: none;
    width: 210px;
}
#menu_horizontal ul li:hover ul{
    display: block;
}
#menu_horizontal ul li ul li{
    width: 100%;
    background: url(../images/menu_con_bg.png) repeat-x;
}
#menu_horizontal ul li ul li a:hover{
    background: #8080FF;
}

/*Thiết kế phần giữa trang web: middle*/
div#middle{
    clear: both;
    margin: 0px 5px;
}

div#slidebar{
    float: left;
    width: 220px;
}

div#main{
    float: right;
    width: 785px;
    margin-left: 5px;
    margin-bottom: 20px;
}

div#left{
    float: left;
    width: 568px;
    margin-left: 1px;
}
div#right{
    float: right;
    width: 200px;
}

/*Thiết lập phần cuối trang web: footer*/
div#footer{
    clear: both;
    font-size: 12pt;
}
div#copyright{
    color: #fff;
    height: 106px;
    position: relative;
}
div#copyright .left{
    float: left;
}
div#copyright div.left_c{
    background: url(../images/ft_lef.jpg) no-repeat scroll;
    width: 30px;
    line-height: 106px;
}
div#copyright div.mid_c{
    background: url(../images/ft_mid.jpg) repeat-x;
    width: 950px;
    height: 106px;
    padding-top: 15px;
    padding-left: 10px;
}
div#copyright div.right_c{
    background: url(../images/ft_rig.jpg) no-repeat;
    width: 30px;
    line-height: 106px;
}

/*Thiết kế các modules: mods ở phần slidebar và right*/
div.mods{
    margin-bottom: 5px;
}
div.mods div.th_navigation{
    background: url(../images/p.png) no-repeat scroll;
    height: 30px;
    line-height: 30px;
    padding-left: 10px;
    color: #fff;
    font-weight: bold;
}
div.blocks{
    border: 1px solid #DBDDDC;
    border-top: none;
    padding-bottom: 10px;
}
div.mods ul li{
    list-style: none;
    border-bottom: 1px solid #DBDDDC;
    height: 33px;
    line-height: 33px;
    padding-left: 12px;
}
div.mods ul li.end{
    border-bottom: none;
    margin-bottom: -10px;
}
div.mods ul li a{
    text-decoration: none;
    color: #4B7B56;
}
div.mods ul li a:hover{
    text-decoration: underline;
    background: url(../images/hover_love.gif) repeat;
}

div.blocks table{
    position: relative;
    overflow: hidden;
    width: 200px;
}

div.blocks div.new{
    display: block;
    float: left;
}
div.blocks div.new span.right_img{
    margin-top: 10px;
}
div.blocks div.new a.register{
    margin-left: 20px;
    margin-top: 13px;
    position: absolute;
    text-decoration: none;
    color: #4B7B56;
}
div.blocks div.new a.register:hover{
    text-decoration: underline;
} 

div.end_blocks{
    clear: both;
    float: left;
    padding-bottom: 10px;
}

/*Thiết kế phần quảng cáo: pr*/
div#pr{
    
}

/*Thiết kế khối sản phẩm: product*/
div#product{

}

div.products{
    width: 170px;
    text-align: center;
    float: left;
    margin-right: 17px;
    margin-bottom: 20px;
}
div.products span{
    display: block;
}
div.products span img{
    border: none;
}

/*Thiet ke phan phan trang: #paging*/
div#paging{
    clear: both;
    text-align: center;
    margin: 10px auto;
}
div#paging a{
    text-decoration: none;
    font-weight: bold;
    color: #008040;
}
div#paging a:hover{
    color: #0080FF;
    text-decoration: underline;
}
span.margin{
    margin: auto 3px;
}

/*Thiết kế phần tab: tabs*/
div.tabs{
    height: 23px;
    line-height: 23px;
    margin-bottom: 20px;
    padding-left: 20px;
    background: url(../images/tab3.png) repeat;
}
div.tabs img{
    float: left;
}
div.tabs h3{
    float: left;
    background: url(../images/tab_bg.png) repeat;
    color: #fff;
    padding: 0 10px;
}